Spaces:
Sleeping
Sleeping
Update modules/discourse/discourse_interface.py
Browse files
modules/discourse/discourse_interface.py
CHANGED
|
@@ -5,6 +5,8 @@ import pandas as pd
|
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
import plotly.graph_objects as go
|
| 7 |
import logging
|
|
|
|
|
|
|
| 8 |
from ..utils.widget_utils import generate_unique_key
|
| 9 |
from .discourse_process import perform_discourse_analysis
|
| 10 |
from ..database.chat_mongo_db import store_chat_history
|
|
|
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
import plotly.graph_objects as go
|
| 7 |
import logging
|
| 8 |
+
import io # <-- Añade esta importación
|
| 9 |
+
|
| 10 |
from ..utils.widget_utils import generate_unique_key
|
| 11 |
from .discourse_process import perform_discourse_analysis
|
| 12 |
from ..database.chat_mongo_db import store_chat_history
|