Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import time
|
3 |
import json
|
4 |
from uuid import uuid4
|
5 |
-
from utils.main_processor import get_statistics
|
6 |
|
7 |
# Sample questions for examples
|
8 |
SAMPLE_QUESTIONS = {
|
@@ -28,7 +28,7 @@ def handle_geojson_upload(file):
|
|
28 |
if file is not None:
|
29 |
try:
|
30 |
# Call the API to get statistics
|
31 |
-
stats_result = get_statistics(file)
|
32 |
|
33 |
# Create success message with API results
|
34 |
success_message = "✅ Document submitted and processed successfully! You can now ask questions about this GeoJSON file."
|
|
|
2 |
import time
|
3 |
import json
|
4 |
from uuid import uuid4
|
5 |
+
/# from utils.main_processor import get_statistics
|
6 |
|
7 |
# Sample questions for examples
|
8 |
SAMPLE_QUESTIONS = {
|
|
|
28 |
if file is not None:
|
29 |
try:
|
30 |
# Call the API to get statistics
|
31 |
+
# stats_result = get_statistics(file)
|
32 |
|
33 |
# Create success message with API results
|
34 |
success_message = "✅ Document submitted and processed successfully! You can now ask questions about this GeoJSON file."
|