Spaces:
Runtime error
Runtime error
Update interface.py
Browse files- interface.py +4 -3
interface.py
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import requests
|
| 3 |
|
| 4 |
-
API_URL = "https://
|
| 5 |
-
STATUS_UPDATE_URL = "https://
|
| 6 |
-
EXPORT_URL = "https://
|
|
|
|
| 7 |
|
| 8 |
def submit_complaint(title, description):
|
| 9 |
try:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import requests
|
| 3 |
|
| 4 |
+
API_URL = "https://hadeeratef91-complaint.hf.space/complaints/"
|
| 5 |
+
STATUS_UPDATE_URL = "https://hadeeratef91-complaint.hf.space/complaints/{complaint_id}/status/"
|
| 6 |
+
EXPORT_URL = "https://hadeeratef91-complaint.hf.space/export/"
|
| 7 |
+
|
| 8 |
|
| 9 |
def submit_complaint(title, description):
|
| 10 |
try:
|