Skip to content

Commit

Permalink
fix extra fields on example requests
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Jan 20, 2025
1 parent ab7076d commit ab3275b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2377,12 +2377,12 @@ def run_as_api_tab(self):
as_form_data = gui.checkbox("##### Upload Files via Form Data")

api_url, request_body = self.get_example_request(
gui.session_state,
self.current_sr.state,
include_all=include_all,
pr=self.current_pr,
)
response_body = self.get_example_response_body(
gui.session_state, as_async=as_async, include_all=include_all
self.current_sr.state, as_async=as_async, include_all=include_all
)

api_example_generator(
Expand Down

0 comments on commit ab3275b

Please sign in to comment.