awacke1 commited on
Commit
fc6202b
·
1 Parent(s): c99f707

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- def update(choice, text):
4
  if (choice==“gpt2large“):
5
  return f1(text)
6
  # return f"Welcome to Gradio, {name}!"
 
1
  import gradio as gr
2
 
3
+ def update( text, choice):
4
  if (choice==“gpt2large“):
5
  return f1(text)
6
  # return f"Welcome to Gradio, {name}!"