Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -783,7 +783,10 @@ class GradioInterface:
|
|
| 783 |
"""Gradio-based web interface"""
|
| 784 |
|
| 785 |
def __init__(self, ai_model: AdvancedAIModel):
|
| 786 |
-
|
|
|
|
|
|
|
|
|
|
| 787 |
"""Gradio-based web interface"""
|
| 788 |
|
| 789 |
def __init__(self, ai_model: AdvancedAIModel):
|
|
|
|
| 783 |
"""Gradio-based web interface"""
|
| 784 |
|
| 785 |
def __init__(self, ai_model: AdvancedAIModel):
|
| 786 |
+
self.ai_model = ai_model # Proper indentation
|
| 787 |
+
# Add other initialization code here
|
| 788 |
+
|
| 789 |
+
class GradioInterface: # Now this class definition is separate
|
| 790 |
"""Gradio-based web interface"""
|
| 791 |
|
| 792 |
def __init__(self, ai_model: AdvancedAIModel):
|