Spaces:
Build error
Build error
Diego Salinas commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
-
def create_portfolio_graph():
|
| 6 |
# Data for the bars
|
| 7 |
positions = ['Long', 'Short']
|
| 8 |
percentages = [0.9, 0.1] # 90% long, 10% short
|
|
|
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
+
def create_portfolio_graph(dummy_input=None):
|
| 6 |
# Data for the bars
|
| 7 |
positions = ['Long', 'Short']
|
| 8 |
percentages = [0.9, 0.1] # 90% long, 10% short
|