Spaces:
Runtime error
Runtime error
acecalisto3
commited on
Commit
•
70e9a38
1
Parent(s):
9c8e622
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
-
import gradio as gr
|
2 |
import subprocess
|
3 |
import os
|
|
|
|
|
|
|
4 |
|
5 |
iface = gr.Blocks()
|
6 |
|
@@ -91,6 +93,7 @@ def submit_resolution(number):
|
|
91 |
miagi_repo.git.push()
|
92 |
|
93 |
return "Resolution submitted"
|
|
|
94 |
iface.replicate_issue.output.subscribe(issue_description.update)
|
95 |
iface.resolve_issue.output.subscribe(resolution_notes.update)
|
96 |
iface.submit_resolution.output.subscribe(lambda _: "Resolution submitted")
|
|
|
|
|
1 |
import subprocess
|
2 |
import os
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
+
iface = gr.Blocks()
|
6 |
|
7 |
iface = gr.Blocks()
|
8 |
|
|
|
93 |
miagi_repo.git.push()
|
94 |
|
95 |
return "Resolution submitted"
|
96 |
+
|
97 |
iface.replicate_issue.output.subscribe(issue_description.update)
|
98 |
iface.resolve_issue.output.subscribe(resolution_notes.update)
|
99 |
iface.submit_resolution.output.subscribe(lambda _: "Resolution submitted")
|