Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,14 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
import matplotlib.pyplot as plt
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
def create_error_plot(error_message):
|
| 6 |
fig, ax = plt.subplots(figsize=(10, 6))
|
| 7 |
ax.text(0.5, 0.5, error_message, color='red', fontsize=16, ha='center', va='center', wrap=True)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
rom gradio.themes.base import Base
|
| 3 |
import numpy as np
|
| 4 |
import matplotlib.pyplot as plt
|
| 5 |
|
| 6 |
+
|
| 7 |
+
class Seafoam(Base):
|
| 8 |
+
pass
|
| 9 |
+
|
| 10 |
+
seafoam = Seafoam()
|
| 11 |
+
|
| 12 |
def create_error_plot(error_message):
|
| 13 |
fig, ax = plt.subplots(figsize=(10, 6))
|
| 14 |
ax.text(0.5, 0.5, error_message, color='red', fontsize=16, ha='center', va='center', wrap=True)
|