Coder Social home page Coder Social logo

lida-demo-streamlit-app's Introduction

LIDA-Demo-Streamlit-App

Automatic Generation of Visualizations and Infographics with LLMs and Streamlit for your CSV data.

lida-demo-streamlit-app's People

Contributors

aianytime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lida-demo-streamlit-app's Issues

Name error after running the code.

Hi,
Thank you for providing with amazing solution on new modules.
The problem I am facing with your code is :
NameError Traceback (most recent call last)
in <cell line: 5>()
3 from llmx.generators.text.textgen import sanitize_provider
4
----> 5 lida = Manager(text_gen = llm("openai", api_key='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')) # !! api key
6 textgen_config = TextGenerationConfig(n=1, temperature=0.5, model="gpt-3.5-turbo-0301", use_cache=True)
7

/usr/local/lib/python3.10/dist-packages/llmx/generators/text/textgen.py in llm(provider, **kwargs)
50
51 if provider.lower() == "openai":
---> 52 return OpenAITextGenerator(**kwargs)
53 elif provider.lower() == "palm":
54 return PalmTextGenerator(**kwargs)

NameError: name 'OpenAITextGenerator' is not defined.

Can you please help me resolve.
I have tried every possible solution for this error.

Getting error in visualization

in _read_file
raise MediaFileStorageError(f"Error opening '{filename}'") from ex
streamlit.runtime.media_file_storage.MediaFileStorageError: Error opening 'iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA1

Screenshot 2023-10-27 at 6 06 26 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.