Spaces:
Build error
Build error
Commit
·
f0551f2
1
Parent(s):
46f0e4d
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ with gr.Blocks() as demo:
|
|
102 |
file_types=['.py', '.txt'], type="file",
|
103 |
elem_classes="short-height")
|
104 |
instructor_prompt = gr.Textbox(visible=True)
|
105 |
-
file_input.
|
106 |
|
107 |
#gr.Interface(get_instructor_prompt, file_input, instructor_prompt)
|
108 |
#test = gr.Textbox(label="testing")
|
|
|
102 |
file_types=['.py', '.txt'], type="file",
|
103 |
elem_classes="short-height")
|
104 |
instructor_prompt = gr.Textbox(visible=True)
|
105 |
+
file_input.upload(get_instructor_prompt, file_input, instructor_prompt)
|
106 |
|
107 |
#gr.Interface(get_instructor_prompt, file_input, instructor_prompt)
|
108 |
#test = gr.Textbox(label="testing")
|