adowu commited on
Commit
5f78b33
1 Parent(s): dbb3d3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -221,9 +221,6 @@ def github_tool(
221
  return f"Błąd: {str(e)}"
222
 
223
 
224
- with gr.Textbox(label="Nazwa repozytorium") as demo:
225
- with gr.Row():
226
- output = gr.Textbox(label="Nazwa repozytorium")
227
-
228
 
229
  demo.launch()
 
221
  return f"Błąd: {str(e)}"
222
 
223
 
224
+ demo = gr.Interface(fn=my_function, inputs=gr.Textbox(label="Nazwa repozytorium"), outputs="text")
 
 
 
225
 
226
  demo.launch()